package discountmember

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ DiscountMemberModel = (*customDiscountMemberModel)(nil)

type (
	// DiscountMemberModel is an interface to be customized, add more methods here,
	// and implement the added methods in customDiscountMemberModel.
	DiscountMemberModel interface {
		discountMemberModel
	}

	customDiscountMemberModel struct {
		*defaultDiscountMemberModel
	}
)

// NewDiscountMemberModel returns a model for the database table.
func NewDiscountMemberModel(conn sqlx.SqlConn) DiscountMemberModel {
	return &customDiscountMemberModel{
		defaultDiscountMemberModel: newDiscountMemberModel(conn),
	}
}
